package com.example.demo.service.design.mode.impl;

import com.example.demo.bean.Order;
import com.example.demo.service.design.mode.IPayment;
import org.springframework.stereotype.Service;

@Service("UnionPay")
public class UnionPay implements IPayment {

    @Override
    public String pay(Order order) {
        return "云闪付支付成功";
    }
}
